<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<form class="corner3" action="<spring:url value="/thanh-vien/xu-ly-thay-doi-mat-khau.htm" />" method="post">
	<fieldset class="corner3">
		<legend align="center">Thay đổi mật khẩu</legend>		
		<article id="boxDetailInfo" class="corner3">
			<div id="boxInfoPersonal">
				<section>
					<label>&nbsp;</label>
					<span style="color:red">${notice}</span>
				</section>
				<section>
					<label for="pwdCur">Mật khẩu hiện tại: </label>
					<input type="password" id="pwdCur" name="pwdCur" class="validate[required]" placeholder="Nhập mật khẩu hiện tại" />
				</section>
				<section>
					<label for="password1">Mật khẩu mới: </label>
					<input type="password" id="password1" name="pwd" class="validate[required]" placeholder="Nhập mật khẩu mới" />
				</section>
				<section>
					<label for="password2">Xác nhận lại mật khẩu: </label>
					<input type="password" id="password2" class="validate[required,equals[password1]]" placeholder="Nhập lại mật khẩu mới" />
				</section>
				<section>
					<label>&nbsp;</label>
					<input type="hidden" name="id" id="id" value="${userInfo.id}" />
					<button class="corner buttonOrange" type="submit" name="btUpdate" id="btUpdate">Cập nhật</button>
				</section>
			</div>
		</article>
		<h6 class="clear">&nbsp;</h6>
	</fieldset>
</form>